package com.dark.cms.system.org.service;

import com.dark.cms.base.service.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by Devil on 2015/1/24.
 */
@Service("orgService")
public class OrgServiceImpl extends BaseServiceImpl implements OrgService{

    @Override
    public List getOrgDetails() {
        List list = this.dao.selectList("org.getOrg");
       return list;
    }

    @Override
    public void doSaveOrg(Map map) throws Exception {
        this.dao.insert("org.insertOrg", map);
    }

}
